/*
 * @描述: 
 * @创建者: kilomChou
 * @Date: 2021-04-11 17:19:47
 * @最后编辑: kilomChou
 * @LastEditTime: 2021-05-07 22:13:18
 */

import Snake from "../snake/Snake";

/** 逻辑端事件 */
export const enum GameEvent {
    /** 蛇生成 */
    SNAKE_SPAWN,
}

/** 逻辑端事件携带参数定义 */
export type GameEventDef = {
    [GameEvent.SNAKE_SPAWN]: Snake
}